#ifndef INC_FAN_H
#define INC_FAN_H

#ifdef __cplusplus
extern "C" {
#endif

#include <string.h>
#include <stdlib.h>

#include "main.h"
#include "OLED.h"
#include "ds18b20.h"
#include "time_tick.h"

#include "usart.h"
#include "tim.h"

# define NUMBER_OF_GEARS (10)
# define DEFAULT_GEAR (1)
# define DEFAULT_MODE (1)

void Fan_Button(uint16_t);

void Fan_Buz_Close(void);

void Fan_Execute_Control(void);

void Fan_Start_Ranging(void);

void Fan_Setup(void);

void Fan_Loop(void);

void Fan_Receive_Control(void);

#ifdef __cplusplus
}
#endif

#endif //INC_FAN_H
